import Taro, { Component,useMemo } from '@tarojs/taro'
import { View,WebView } from '@tarojs/components'

class MyWebView extends Component{

  config = {
    navigationBarTitleText: '卷'
  }

  componentWillMount () {
    this.setState({
      item:JSON.parse(this.$router.params.item)
    })
  }

  componentDidMount () { }

  componentWillUnmount () { }

  componentDidShow () { }

  componentDidHide () { }

  render () {

    return (
      <View>
        {/*<WebView src= {this.state.item.CouponUrl} />*/}
      </View>
    )
  }
}

export  default MyWebView
